/* $Id: ClientServiceRoleDAO.java 
 * Copyright (C) 2011, TRAKHEES
 *  
 * Revision History
 *
 * Date  			Author 		    	Remarks
 * ---------------------------------------------------------------------------------
 *
 */
package ae.pcfc.etks.online.common.dao;

import java.util.List;

import ae.pcfc.etks.online.common.domain.ClientServiceRole;
import ae.pcfc.etks.online.common.exception.PersistenceException;

public interface ClientServiceRoleDAO {
	
	/**
	 * add
	 * Method to add a Client Service Role domain object in the DB
	 * @param clientServiceRole
	 * void
	 */
	public void add(ClientServiceRole clientServiceRole);

	/**
	 * findClientServiceRole
	 * Method to find the list of client Service role domain objects by a Client Service Role object which contains the field value for filtering 
	 * @param clientServiceRole
	 * @return
	 * List<ClientServiceRole>
	 */
	public List<ClientServiceRole> findClientServiceRole(ClientServiceRole clientServiceRole);
	
	public <T> void delete(T obj) throws PersistenceException;
}
